#ifndef _csBufferedStream_h_
#define _csBufferedStream_h_

/********************************************************************
	created:	2009/11/06
	created:	6:11:2009   14:54
	filename: 	e:\csEngine\csCoreLib\src\io\csBufferedStream.h
	file path:	e:\csEngine\csCoreLib\src\io
	file base:	csBufferedStream
	file ext:	h
	author:		dongchengok
	
	purpose:	buffered stream
*********************************************************************/
#include "../io/csStream.h"

//------------------------------------------------------------------------
class csBufferedStream : public csStream
{
public:
	csBufferedStream(csStream* stream, u32 re=0);
	virtual ~csBufferedStream();

	void			setCapacity(u32 cap);
	void			reserve(u32 re);
};

#endif // _csBufferedStream_h_